import Vue from 'vue'
import App from './App'
import {myRequest} from './util/api.js'

// 全局挂载
Vue.prototype.$myRequest = myRequest

// 全局过滤器
Vue.filter('formatDate', (date) => {
	const nDate = new Date(date)
	return nDate.getTime()
})

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
